﻿<%@ Page Title="急救药品24小时内未配送企业列表" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" CodeBehind="CompanyResponse24HourByCompany.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.Statistics.CompanyResponse24HourByCompany" %> 

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <%@ register src="~/Common/AreaControls.ascx" tagname="AreaControl" tagprefix="uc3" %>
    <style type="text/css">
        .style1
        {
            height: 13px;
        }
        .style2
        {
            height: 13px;
            width: 109px;
        }
        .style3
        {
            width: 109px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="search">
        <div class="search_item">
            <table>
                     <th class="style1">
                        配送企业：
                    </th>
                    <td class="style1">
                        <asp:TextBox ID="txtCompanyName_PS" runat="server"></asp:TextBox>
                    </td>
                    <th>
                                排序字段：
                            </th>
                            <td align="left">
                                <asp:DropDownList runat="server" ID="ddlSortFields"> 
                                    <asp:ListItem Value="CompanyID_PS" Text="配送企业编号"></asp:ListItem>
                                    <asp:ListItem Value="PurchaseCount" Text="采购数量"></asp:ListItem>
                                    <asp:ListItem Value="OrderCount" Text="订单明细数量"></asp:ListItem>     
                                </asp:DropDownList> 
                                
                            </td>
                            <th>
                                排序方式：
                            </th>
                            <td align="left">
                                <asp:DropDownList runat="server" ID="ddlSort">
                                    <asp:ListItem Value="DESC" Text="降序"></asp:ListItem>                                
                                    <asp:ListItem Value="ASC" Text="升序"></asp:ListItem>
                                </asp:DropDownList>
                            </td> 
                    <th>
                        <hz:HzButton ID="btnQuery" runat="server" Text="查  询" OnClick="btnQuery_Click" CssClass="btn" />
                    </th>
                </tr>
            </table>
        </div>
    </div>
     <div class="listip">
        <ul>
            <li><asp:Label ID="lblTitle" runat="server"></asp:Label>
            </li>
        </ul>
    </div>
    <div class="navDiv">&nbsp;</div>
    <asp:GridView ID="gvwPSLInfo" runat="server" AutoGenerateColumns="False" CssClass="mainlist"
        OnRowCommand="gvwInfo_RowCommand" AllowSorting="True" EmptyDataText="暂无符合条件的数据！">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager_CompanyPS.PageSize * (AspNetPager_CompanyPS.CurrentPageIndex - 1)%></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="CompanyID_PS" HeaderText="配送企业编号" ReadOnly="true" />
            <asp:BoundField DataField="CompanyName_PS" HeaderText="配送企业名称" ReadOnly="true" /> 
            <asp:BoundField DataField="PurchaseCount" HeaderText="采购数量" ReadOnly="true" /> 
            <asp:BoundField DataField="OrderCount" HeaderText="订单明细数量" ReadOnly="true" /> 
            <asp:TemplateField HeaderText="查看订单明细">
                <ItemTemplate>
                    <hz:HzLinkButton ID="lbnCom" runat="server" CausesValidation="True" CommandName="lbnCom"
                        CommandArgument='<%#Eval("CompanyID_PS") %>' Text="明细" />
                </ItemTemplate>
            </asp:TemplateField>
             
        </Columns>
    </asp:GridView>
    <div class="page">
        <span style="width: 30%; float: left; text-align: left">
            <hz:HzButton ID="btnExcel1" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" />  
            <hz:HzButton ID="btnBack" runat="server" CssClass="btn" Text="返回" onclick="btnBack_Click" /> 
        </span> <span style="width: 70%; text-align: right; float: right">
            <webdiyer:AspNetPager ID="AspNetPager_CompanyPS" runat="server" AlwaysShow="true"
                OnPageChanged="AspNetPager_CompanyPS_PageChanged">
            </webdiyer:AspNetPager>
        </span>
    </div>
    <br />
     <div class="listip">
        <ul>
            <li>说明: <span>结果集中的“采购数量”是指医院提交的采购数量，“订单明细数量”是指医院提交的采购单中的明细单数量。</span>
            </li>
        </ul>
    </div>
</asp:Content>
